package org.hxyjs.dao;

import org.hxyjs.entity.GameDetailsRecord;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface GameDetailsRecordDao {

    //查询全部
    public List<GameDetailsRecord> getAllGameDetailsRecords() throws Exception;

    //按主键查询
    public GameDetailsRecord getGameDetailsRecordByGdrno(String gdrno) throws Exception;

    //分页查询
    public List<GameDetailsRecord> getGameDetailsRecordByPage(PageInfo pageInfo) throws Exception;

    //增删改的返回值都是整数
    //增加
    Integer addGameDetailsRecord(GameDetailsRecord gameDetailsRecord) throws Exception;

    //删除
    Integer deleteGameDetailsRecordByGdrno(String gdrno) throws Exception;

    //修改
    Integer updateGameDetailsRecordByGdrno(GameDetailsRecord gameDetailsRecord) throws Exception;


}
